package Initialize;

public class Parent {
    private String state = "initial";

    public Parent(String state) {
        System.out.println("父类构造器开始：" + this.state);
        this.state = state;
        System.out.println("父类构造器结束：" + this.state);
    }

    public Parent() {
        System.out.println("父类构造器开始：" + this.state);
        System.out.println("父类构造器结束：" + this.state);
    }
}
